
def is_query(sql):
    sql = sql.split()
    if sql[0].upper() == 'SELECT':
        return "查询语句"
    else:
        return "非查询语句"


if __name__ == '__main__':
    sql = "SELECT * from litemall_keyword"
    print(is_query(sql))
